﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="AssembleStepAdd.aspx.cs" Inherits="Assemble_AssembleStepAdd" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <%--<script type="text/javascript" src="../../js/JudgeInput.js"></script>--%>

    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div style="text-align: center;">
                <br />
                <br />
                <div style="clear: both;">
                    <p align="center">
                        腔体序列号：<asp:TextBox ID="TextBox1" runat="server" TabIndex="1" 
                            AutoPostBack="True" ontextchanged="TextBox1_TextChanged" 
                            ValidationGroup="VGroup1"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="不能为空"
                            ValidationGroup="VGroup1" Display="Dynamic" EnableClientScript="False"></asp:RequiredFieldValidator></p>
                    <p align="center">
                        &nbsp;</p>
                </div>
                <div style="text-align: center; clear: both; height: 99px; width: 60%; border: 1px solid Black;
                    margin: 0 auto;">
                    <br />
                    <table style="width: 100%">
                        <tr>
                            <td>
                                &nbsp;操作员工
                            </td>
                            <td>
                                流程名称</td>
                        </tr>
                        <tr>
                            <td>
                                <asp:TextBox ID="TextBox3" runat="server" AutoPostBack="True" 
                                    ontextchanged="TextBox3_TextChanged" style="height: 22px" TabIndex="4"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                    ControlToValidate="TextBox3" Display="Dynamic" EnableClientScript="False" 
                                    ErrorMessage="不能为空" ValidationGroup="VGroup2"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                    ControlToValidate="TextBox3" Display="Dynamic" EnableClientScript="False" 
                                    ErrorMessage="请输入正确的工号" ValidationExpression="[0-9XxJj]{1}[0-9]{5}" 
                                    ValidationGroup="VGroup2"></asp:RegularExpressionValidator>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox2" runat="server" AutoPostBack="True" 
                                    ontextchanged="TextBox2_TextChanged" TabIndex="3" ValidationGroup="VGroup2"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                    ControlToValidate="TextBox2" Display="Dynamic" EnableClientScript="False" 
                                    ErrorMessage="不能为空" ValidationGroup="VGroup2"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                    </table>
                    <br />
                </div>
                <div style="text-align: center; clear: both; width: 60%; border: 1px solid Black;
                    margin: 0 auto;">
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="100%"
                        BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3"
                        CellSpacing="1" GridLines="None" OnRowDataBound="GridView1_RowDataBound" OnRowDeleting="GridView1_RowDeleting">
                        <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                        <Columns>
                            <asp:BoundField DataField="PostName" HeaderText="流程名称" />
                            <asp:BoundField DataField="UserID" HeaderText="操作员工" />
                            <asp:CommandField HeaderText="选择" ShowDeleteButton="True" />
                        </Columns>
                        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                        <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                    </asp:GridView>
                    <br />
                    <br />
                </div>
                <br />
                <br />
                注1：扫描流程名称后，扫描操作员工，即可添加关键流程<br />
                注2：扫描腔体序列号，即可提交记录
                <br />
                <div style="clear: both;">
                </div>
                <br />
                <br />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
